package com.yjc.drygoods.member.exception;

import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author yjc
 * @create 2022-09-18 9:21
 */
public class PhoneNotRightException extends RuntimeException {
    public PhoneNotRightException() {
        super("手机号格式不正确");
    }

    public PhoneNotRightException(String message) {
        super(message);
    }

    public PhoneNotRightException(String message, Throwable cause) {
        super(message, cause);
    }

    public PhoneNotRightException(Throwable cause) {
        super(cause);
    }

    protected PhoneNotRightException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
